package com.blue.blog.api.mapper;

import com.blue.blog.api.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CategoryMapper {
    List<Category> findAllCategory();

    Integer saveCategory(Category category);

    Integer updateCategory(Category category);

    Integer deleteCategoryById(Long id);
}
